\hypertarget{_m_d_s___r_t_u___a_p_p__1_8c}{}\section{D\+:/\+Project/\+My\+Project1/\+X\+Tiny\+Modbus/\+S\+T\+M32f103zet6/\+Modbus/\+Example/\+M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.c File Reference}
\label{_m_d_s___r_t_u___a_p_p__1_8c}\index{D\+:/\+Project/\+My\+Project1/\+X\+Tiny\+Modbus/\+S\+T\+M32f103zet6/\+Modbus/\+Example/\+M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c@{D\+:/\+Project/\+My\+Project1/\+X\+Tiny\+Modbus/\+S\+T\+M32f103zet6/\+Modbus/\+Example/\+M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c}}
{\ttfamily \#include \char`\"{}M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}M\+D\+\_\+\+R\+T\+U\+\_\+\+Map\+Table.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+Fun.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+User\+\_\+\+Fun.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+Serial\+\_\+1.\+h\char`\"{}}\newline
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{_m_d_s___r_t_u___a_p_p__1_8c_a56d61c5ebd521ad5457ec2fbd6d5f6c0}{S\+A\+L\+V\+E\+\_\+\+A\+D\+DR}}~0x02
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{_m_d_s___r_t_u___a_p_p__1_8c_a051c8466d0de147460dbf308c2e1c9a7}{M\+D\+S\+A\+P\+P\+Write\+Funciton}} (void $\ast$obj, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} modbus\+Addr, \mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}} w\+Len, \mbox{\hyperlink{_m_d___r_t_u___map_table_8h_a5a2ca199266aafd1a2d30391d6620892}{Addr\+Type}} addr\+Type)
\item 
\mbox{\hyperlink{_m_d___r_t_u___type_8h_ae4cc35dcc70810fa972cc8a5185a28fa}{B\+O\+OL}} \mbox{\hyperlink{_m_d_s___r_t_u___a_p_p__1_8c_a23b9660a91c99ec6a8e5728a6a43f936}{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+Init\+\_\+1}} (void)
\item 
void \mbox{\hyperlink{_m_d_s___r_t_u___a_p_p__1_8c_abff6d8181205df6ddef810d44d0963ee}{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+Loop\+\_\+1}} (void)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{struct_map_table_item}{Map\+Table\+Item}} \mbox{\hyperlink{_m_d_s___r_t_u___a_p_p__1_8c_adc009636b3c832b43316e68cf46d50e6}{map\+Table\+Item0}}
\item 
\mbox{\hyperlink{struct_map_table_item}{Map\+Table\+Item}} \mbox{\hyperlink{_m_d_s___r_t_u___a_p_p__1_8c_a108e8a00160463e324d16a38705252ad}{map\+Table\+Item1}}
\item 
\mbox{\hyperlink{struct_map_table_item}{Map\+Table\+Item}} \mbox{\hyperlink{_m_d_s___r_t_u___a_p_p__1_8c_a90b920c87595644f3f2dcae4ce384fb4}{map\+Table\+Item2}}
\item 
\mbox{\hyperlink{struct_map_table_item}{Map\+Table\+Item}} \mbox{\hyperlink{_m_d_s___r_t_u___a_p_p__1_8c_aee9f5d4579b448349ea961e6a04b2ab8}{map\+Table\+Item3}}
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\mbox{\Hypertarget{_m_d_s___r_t_u___a_p_p__1_8c_a56d61c5ebd521ad5457ec2fbd6d5f6c0}\label{_m_d_s___r_t_u___a_p_p__1_8c_a56d61c5ebd521ad5457ec2fbd6d5f6c0}} 
\index{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c@{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c}!S\+A\+L\+V\+E\+\_\+\+A\+D\+DR@{S\+A\+L\+V\+E\+\_\+\+A\+D\+DR}}
\index{S\+A\+L\+V\+E\+\_\+\+A\+D\+DR@{S\+A\+L\+V\+E\+\_\+\+A\+D\+DR}!M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c@{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c}}
\subsubsection{\texorpdfstring{S\+A\+L\+V\+E\+\_\+\+A\+D\+DR}{SALVE\_ADDR}}
{\footnotesize\ttfamily \#define S\+A\+L\+V\+E\+\_\+\+A\+D\+DR~0x02}

name\+: M\+D\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c \+: zspace \+: \href{mailto:1358745329@qq.com}{\tt 1358745329@qq.\+com} \+: 1.\+0 \+: 2020-\/4-\/28 \+: Modbus R\+TU Slave application module. ~\newline
Open source address\+: \href{https://github.com/lotoohe-space/XTinyModbus}{\tt https\+://github.\+com/lotoohe-\/space/\+X\+Tiny\+Modbus} 

\subsection{Function Documentation}
\mbox{\Hypertarget{_m_d_s___r_t_u___a_p_p__1_8c_a23b9660a91c99ec6a8e5728a6a43f936}\label{_m_d_s___r_t_u___a_p_p__1_8c_a23b9660a91c99ec6a8e5728a6a43f936}} 
\index{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c@{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c}!M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+Init\+\_\+1@{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+Init\+\_\+1}}
\index{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+Init\+\_\+1@{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+Init\+\_\+1}!M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c@{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c}}
\subsubsection{\texorpdfstring{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+Init\+\_\+1()}{MDS\_RTU\_APPInit\_1()}}
{\footnotesize\ttfamily \mbox{\hyperlink{_m_d___r_t_u___type_8h_ae4cc35dcc70810fa972cc8a5185a28fa}{B\+O\+OL}} M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+Init\+\_\+1 (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_s___r_t_u___a_p_p__1_8c_abff6d8181205df6ddef810d44d0963ee}\label{_m_d_s___r_t_u___a_p_p__1_8c_abff6d8181205df6ddef810d44d0963ee}} 
\index{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c@{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c}!M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+Loop\+\_\+1@{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+Loop\+\_\+1}}
\index{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+Loop\+\_\+1@{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+Loop\+\_\+1}!M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c@{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c}}
\subsubsection{\texorpdfstring{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+Loop\+\_\+1()}{MDS\_RTU\_Loop\_1()}}
{\footnotesize\ttfamily void M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+Loop\+\_\+1 (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{_m_d_s___r_t_u___a_p_p__1_8c_a051c8466d0de147460dbf308c2e1c9a7}\label{_m_d_s___r_t_u___a_p_p__1_8c_a051c8466d0de147460dbf308c2e1c9a7}} 
\index{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c@{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c}!M\+D\+S\+A\+P\+P\+Write\+Funciton@{M\+D\+S\+A\+P\+P\+Write\+Funciton}}
\index{M\+D\+S\+A\+P\+P\+Write\+Funciton@{M\+D\+S\+A\+P\+P\+Write\+Funciton}!M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c@{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c}}
\subsubsection{\texorpdfstring{M\+D\+S\+A\+P\+P\+Write\+Funciton()}{MDSAPPWriteFunciton()}}
{\footnotesize\ttfamily void M\+D\+S\+A\+P\+P\+Write\+Funciton (\begin{DoxyParamCaption}\item[{void $\ast$}]{obj,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{modbus\+Addr,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___type_8h_a05f6b0ae8f6a6e135b0e290c25fe0e4e}{uint16}}}]{w\+Len,  }\item[{\mbox{\hyperlink{_m_d___r_t_u___map_table_8h_a5a2ca199266aafd1a2d30391d6620892}{Addr\+Type}}}]{addr\+Type }\end{DoxyParamCaption})}



\subsection{Variable Documentation}
\mbox{\Hypertarget{_m_d_s___r_t_u___a_p_p__1_8c_adc009636b3c832b43316e68cf46d50e6}\label{_m_d_s___r_t_u___a_p_p__1_8c_adc009636b3c832b43316e68cf46d50e6}} 
\index{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c@{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c}!map\+Table\+Item0@{map\+Table\+Item0}}
\index{map\+Table\+Item0@{map\+Table\+Item0}!M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c@{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c}}
\subsubsection{\texorpdfstring{map\+Table\+Item0}{mapTableItem0}}
{\footnotesize\ttfamily \mbox{\hyperlink{struct_map_table_item}{Map\+Table\+Item}} map\+Table\+Item0}

\mbox{\Hypertarget{_m_d_s___r_t_u___a_p_p__1_8c_a108e8a00160463e324d16a38705252ad}\label{_m_d_s___r_t_u___a_p_p__1_8c_a108e8a00160463e324d16a38705252ad}} 
\index{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c@{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c}!map\+Table\+Item1@{map\+Table\+Item1}}
\index{map\+Table\+Item1@{map\+Table\+Item1}!M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c@{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c}}
\subsubsection{\texorpdfstring{map\+Table\+Item1}{mapTableItem1}}
{\footnotesize\ttfamily \mbox{\hyperlink{struct_map_table_item}{Map\+Table\+Item}} map\+Table\+Item1}

\mbox{\Hypertarget{_m_d_s___r_t_u___a_p_p__1_8c_a90b920c87595644f3f2dcae4ce384fb4}\label{_m_d_s___r_t_u___a_p_p__1_8c_a90b920c87595644f3f2dcae4ce384fb4}} 
\index{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c@{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c}!map\+Table\+Item2@{map\+Table\+Item2}}
\index{map\+Table\+Item2@{map\+Table\+Item2}!M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c@{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c}}
\subsubsection{\texorpdfstring{map\+Table\+Item2}{mapTableItem2}}
{\footnotesize\ttfamily \mbox{\hyperlink{struct_map_table_item}{Map\+Table\+Item}} map\+Table\+Item2}

\mbox{\Hypertarget{_m_d_s___r_t_u___a_p_p__1_8c_aee9f5d4579b448349ea961e6a04b2ab8}\label{_m_d_s___r_t_u___a_p_p__1_8c_aee9f5d4579b448349ea961e6a04b2ab8}} 
\index{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c@{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c}!map\+Table\+Item3@{map\+Table\+Item3}}
\index{map\+Table\+Item3@{map\+Table\+Item3}!M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c@{M\+D\+S\+\_\+\+R\+T\+U\+\_\+\+A\+P\+P\+\_\+1.\+c}}
\subsubsection{\texorpdfstring{map\+Table\+Item3}{mapTableItem3}}
{\footnotesize\ttfamily \mbox{\hyperlink{struct_map_table_item}{Map\+Table\+Item}} map\+Table\+Item3}

